@layout("/common/_form.html",{js:["/assets/modular/vote/vote/VoteApprove.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="mainInfoForm" lay-filter="mainInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="main_id" id="main_id" type="hidden"/>

                    <div class="layui-inline formItem">
                        <label class="layui-form-label">维修项目</label>
                        <div class="layui-input-block">
                            <input id="wxXm" name="wx_xm" placeholder="请输入维修项目" style="color: silver;cursor: not-allowed" type="text" class="layui-input" disabled/>
                        </div>
                    </div>

                    <div class="layui-inline formItem">
                        <label class="layui-form-label">投票天数<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="vote_day_length" name="vote_day_length" placeholder="请输入投票天数" value="5" type="text" class="layui-input" lay-verify="required" required/>
                            <div class="layui-form-mid layui-word-aux" style="margin-left: 5px">天</div>
                        </div>
                    </div>


                    <div class="layui-inline formItem">
                        <label class="layui-form-label">开始投票时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="vote_start_date" name="vote_start_date" lay-verify="required" required>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>
</form>


<style>
    .layui-form-label {
        width: 90px;
    }

    .layui-input-block {
        margin-left: 120px;
        display: flex;
    }

    .layui-input {
        width: 325px;
    }

    .formItem {
        width: 500px;
    }

    .layui-form-mid {
        width: 25px;
    }
</style>


@}